package com.example.studentportrait.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 角色信息表(Role)表实体类
 *
 * @author makejava
 * @since 2023-10-17 21:18:32
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("role_permission")
public class RolePermission {
    //角色ID@TableId
    private Long id;
    //角色id
    private Long roleId;
    //权限id
    private Long permissionId;

    //删除标志（0代表存在 1代表删除）
    private Integer isDelete;
    @TableField(fill= FieldFill.INSERT)
    private String createUser;
    @TableField(fill= FieldFill.INSERT)
    private Date createTime;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private String updateUser;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Date updateTime;



}

